/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "钳工任务分配",TableName = "V_AssignMents")]
    public partial class V_AssignMents:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="PROJTask_Id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid PROJTask_Id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ProjectCode")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ProjectCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="TaskAssignee")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string TaskAssignee { get; set; }

       /// <summary>
       ///任务名称
       /// </summary>
       [Display(Name ="任务名称")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string TaskTitle { get; set; }

       /// <summary>
       ///开始日期
       /// </summary>
       [Display(Name ="开始日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? StartDate { get; set; }

       /// <summary>
       ///截止日期
       /// </summary>
       [Display(Name ="截止日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? DeadlineDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Description")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Description { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Status { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateBy")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string CreateBy { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateOn")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateOn { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="UpdateBy")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string UpdateBy { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="LastUpdateOn")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? LastUpdateOn { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsDeleted")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsDeleted { get; set; }

       /// <summary>
       ///钳工
       /// </summary>
       [Display(Name ="钳工")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string WorkerName { get; set; }

       /// <summary>
       ///进度
       /// </summary>
       [Display(Name ="进度")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       public decimal? TaskProgress { get; set; }

       
    }
}